﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace eLuk.Entity
{
	[DataContract]
	public class ContentType
	{
		[DataMember]
		public string Type { get; set; }
		[DataMember]
		public string Boundry { get; set; }
		[DataMember]
		public string BoundryDelimeter { get { return "--" + this.Boundry; } private set { } }
		[DataMember]
		public string CharSet { get; set; }
		[DataMember]
		public string Format { get; set; }
		[DataMember]
		public string DeleteSpace { get; set; }
		[DataMember]
		public bool IsMultipart { get; set; }
		[DataMember]
		public bool AlternateContentAvailable { get; set; }
		[DataMember]
		public string TransferEncoding { get; set; }
		[DataMember]
		public bool IsAttachment { get; set; }
		[DataMember]
		public string ContentDisposition { get; set; }
		
	}

	[CollectionDataContract]
	public class ContentTypes : List<ContentType>
	{ 
	
	}


}
